@extends('common')
@section('content')
<br>
<form action="form-inline definewidth m20">
	<table class="">
		<tr>
			<td>经办人姓名:<input type="text"></td>
			<td>日期:<input type="text" placeholder=""></td>
			<td>
				费用类型
				<select name="" id="">
					<option value="">-选择-</option>
					<option value="">学费</option>
					<option value="">维修费</option>
					<option value="">待产费</option>
				</select>
			</td>
			<td><button type="submit">搜索</button></td>
		</tr>
	</table>
</form>
<hr width="100%">
<table class="table table-bordered table-hover m10">
		<tr>
			<th>费用发生日期</th>
			<th>费用类型</th>
			<th>金额(元)</th>
			<th>经手人</th>
			<th>备注</th>
		</tr>
		@foreach($arr as $key => $value)
			<tr>
				<td>{{$value['datetime']}}</td>
				<td>{{$value['cost_type']}}</td>
				<td>{{$value['number']}}(元)</td>
				<td>{{$value['admin']}}</td>
				<td>{{$value['notes']}}</td>
			</tr>
		@endforeach
	</table>
@stop